<template>
  <div class="anthInfo">
    <div class="header">
      <div class="auth-img">
        <a target="blank" :href="require('@/assets/img/auth-img.jpg')">
          <img class :src="require('@/assets/img/auth-img.jpg')" alt="" />
        </a>
      </div>
      <div class="auth-details">
        <p class="title">{{APP_NAME}}</p>
        <p class="info">人若有志, 万事可为。</p>
        <p class="info">喜欢炫酷的视觉效果, 热爱前端。</p>
        <div class="control">
          <a href="tencent://message/?uin=603660895&Site=****&Menu=yes"
            >联系作者</a
          >
          <a href="tencent://message/?uin=603660895&Site=****&Menu=yes"
            >反馈问题</a
          >
        </div>
      </div>
    </div>
    <div class="project">
      <div class="list">
        <span>个人官网: </span>
        <a href="http://tianguoyuan.top" target="blank"
          >http://tianguoyuan.top</a
        >
      </div>
      <div class="list">
        <span>学习笔记: </span>
        <a href="http://tianguoyuan.top/book/" target="blank"
          >http://tianguoyuan.top/book</a
        >
      </div>
      <div class="list">
        <span>码云: </span>
        <a href="https://gitee.com/mynametian" target="blank"
          >https://gitee.com/mynametian</a
        >
      </div>
      <div class="list">
        <span>简书: </span>
        <a href="https://www.jianshu.com/u/c7fc012d59a3" target="blank"
          >https://www.jianshu.com/u/c7fc012d59a3</a
        >
      </div>
    </div>
  </div>
</template>

<script>
import {APP_NAME} from "@/setting"
export default {
  name: "authInfo",
  data() {
    return {
      APP_NAME
    };
  },
};
</script>

<style lang="scss" scoped>
.anthInfo {
  padding: 40px;
  .project {
    .list {
      display: flex;
      margin-top: 20px;
      font-size: 14px;
      span {
        text-align: right;
        width:80px;
        font-weight: 550;
        color: rgb(51, 51, 51);
      }
      a {
        margin-left:30px;
        color: rgb(51, 51, 51);
        color: rgb(12, 115, 194);
        cursor: pointer;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  .header {
    display: flex;

    .auth-img {
      margin-right: 20px;
      width: 200px;
      height: 200px;
      border: 1px solid rgb(213, 213, 213);
      img {
        margin: 3px;
        width: calc(100% - 6px);
        height: calc(100% - 6px);
      }
    }
    .auth-details {
      flex: 1;
      .control {
        margin-top: 50px;
        a {
          color: rgb(12, 115, 194);
          cursor: pointer;
          font-size: 12px;
          margin-right: 10px;
          &:hover {
            text-decoration: underline;
          }
        }
      }
      .info {
        font-size: 18px;
        color: rgb(102, 102, 102);
        font-size: 14px;
        margin: 20px 0;
        user-select: none;
      }
      .title {
        user-select: none;
        font-size: 22px;
        font-weight: normal;
        line-height: 30px;
        color: #000;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
      }
    }
  }
}
</style>